package com.shiro.sdk.token;

import org.apache.shiro.authc.AuthenticationToken;

public class JwtAuthenticationToken implements AuthenticationToken {

    private String JwtAuthenticationToken;

    public JwtAuthenticationToken(String JwtAuthenticationToken){
        this.JwtAuthenticationToken = JwtAuthenticationToken;
    }

    @Override
    public Object getPrincipal() {
        return JwtAuthenticationToken;
    }

    @Override
    public Object getCredentials() {
        return JwtAuthenticationToken;
    }
}
